﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DCT.Model
{
    public class TrackSegmentGraphModel : DeviceBaseGraphModel
    {
        public TrackSegmentGraphModel()
            : base()
        {
            _tsGraph = new TrackSegmentGraph();
        }

        public TrackSegmentGraphModel(TrackSegmentGraph ts, Graph graph)
            : base(graph)
        {
            _tsGraph = ts;
        }

        TrackSegmentGraph _tsGraph;

        public TrackSegmentGraph TrackSegment
        {
            get
            {
                return _tsGraph;
            }
        }

        #region Properties

        public string StartPoint
        {
            get
            {
                return _tsGraph.StartPoint;
            }
            set
            {
                _tsGraph.StartPoint = value;
            }
        }

        public string EndPoint
        {
            get
            {
                return _tsGraph.EndPoint;
            }
            set
            {
                _tsGraph.EndPoint = value;
            }
        }

        #endregion // Properties
    }
}
